﻿using BCCommon;
using BCDto.Sim.Admin.AdminOperationRecord;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.Sim.Admin.AdminOperationRecord
{
    /// <summary>
    /// 员工操作记录服务
    /// </summary>
    public interface IAdminOperationRecordService
    {
        /// <summary>
        /// 添加员工操作记录
        /// </summary>
        /// <param name="operationName">操作名称</param>
        /// <param name="content">内容</param>
        /// <param name="adminId">员工Id</param>
        /// <param name="loginName">登录名称</param>
        /// <param name="fullname">姓名</param>
        /// <param name="companyId">公司ID</param>
        void Create(string operationName, string content, long adminId, string loginName, string fullname, int companyId);
        /// <summary>
        /// 获取员工操作记录
        /// </summary>
        /// <param name="adminOperationRecordId">员工操作记录Id</param>
        /// <returns></returns>
        AdminOperationRecordDto GetAdminOperationRecord(string adminOperationRecordId);
        /// <summary>
        /// 获取员工操作记录分页
        /// </summary>
        /// <param name="index">当前页码</param>
        /// <param name="size">每页数据大小</param>
        /// <param name="operationName">操作名称</param>
        /// <param name="adminId">员工Id</param>
        /// <param name="startDate">开始时间</param>
        /// <param name="endDate">结束时间</param>
        /// <param name="companyId">公司ID</param>
        /// <returns></returns>
        PageableList<AdminOperationRecordDto> GetAdminOperationRecords(int index, int size, string operationName, long? adminId, DateTime? startDate, DateTime? endDate, int? companyId);
    }
}
